<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>记忆中心 | 人生时光轴</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            /* 沿用原配色方案 */
            --color01: #534739; /* 深棕色 */
            --color02: #9E8774; /* 棕褐色 */
            --color03: #F0F2F1; /* 米白色 */
            --color04: #1F2D33; /* 深青色 */
            --color05: #0D0D0C; /* 近黑色 */
            
            /* 玻璃质感 */
            --glass: rgba(240, 242, 241, 0.85);
            --glass-border: rgba(255, 255, 255, 0.4);
            --glass-shadow: rgba(83, 71, 57, 0.25);
            
            /* 动画效果 */
            --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
            
            /* 侧边栏宽度 */
            --sidebar-width: 260px;
            --sidebar-width-collapsed: 80px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
        }

        body {
            background: linear-gradient(135deg, #F0F2F1 0%, #e8eaea 100%);
            color: var(--color01);
            min-height: 100vh;
            overflow-x: hidden;
            padding: 0;
            background-image: url('');
        }

        .app-container {
            display: flex;
            min-height: 100vh;
        }

        /* 侧边栏导航 */
        .sidebar {
            width: var(--sidebar-width);
            background: var(--glass);
            backdrop-filter: blur(12px) saturate(180%);
            -webkit-backdrop-filter: blur(12px) saturate(180%);
            box-shadow: 4px 0 20px var(--glass-shadow);
            border-right: 1px solid var(--glass-border);
            transition: var(--transition);
            z-index: 100;
            display: flex;
            flex-direction: column;
            position: fixed;
            height: 100vh;
        }

        .sidebar.collapsed {
            width: var(--sidebar-width-collapsed);
        }

        .sidebar-header {
            padding: 20px;
            display: flex;
            align-items: center;
            gap: 15px;
            border-bottom: 1px solid var(--glass-border);
        }

        .sidebar.collapsed .sidebar-header {
            justify-content: center;
            padding: 20px 0;
        }

        .logo-icon {
            font-size: 28px;
            color: var(--color04);
            animation: pulse 2s infinite;
        }

        .logo-text {
            font-size: 22px;
            font-weight: 600;
            letter-spacing: 1px;
            background: linear-gradient(45deg, var(--color05), var(--color01));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            transition: var(--transition);
        }

        .sidebar.collapsed .logo-text {
            display: none;
        }

        .sidebar-toggle {
            margin-left: auto;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.6);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--color02);
            cursor: pointer;
            transition: var(--transition);
        }

        .sidebar-toggle:hover {
            background: white;
            transform: scale(1.1);
        }

        .sidebar.collapsed .sidebar-toggle {
            margin-left: 0;
        }

        .nav-links {
            flex-grow: 1;
            padding: 20px 0;
            overflow-y: auto;
        }

        .nav-section {
            padding: 0 15px 15px;
        }

        .nav-section-title {
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--color02);
            padding: 0 15px 10px;
            display: none;
        }

        .nav-link {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 12px 20px;
            text-decoration: none;
            color: var(--color01);
            font-size: 16px;
            font-weight: 500;
            transition: var(--transition);
            position: relative;
        }

        .nav-link i {
            font-size: 20px;
            width: 24px;
            text-align: center;
        }

        .nav-link:hover {
            background: rgba(255, 255, 255, 0.3);
            color: var(--color04);
        }

        .nav-link.active {
            background: rgba(158, 135, 116, 0.2);
            color: var(--color04);
        }

        .nav-link.active::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 4px;
            background: linear-gradient(180deg, var(--color02), var(--color01));
        }

        .sidebar.collapsed .nav-link span {
            display: none;
        }

        .sidebar.collapsed .nav-link {
            justify-content: center;
            padding: 15px 0;
        }

        .sidebar.collapsed .nav-link.active::before {
            left: 50%;
            top: auto;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            transform: translateX(-50%);
            bottom: 8px;
        }

        .user-profile-container {
            padding: 20px;
            border-top: 1px solid var(--glass-border);
        }

        .user-profile {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .profile-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(45deg, var(--color02), var(--color01));
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--color03);
            font-weight: bold;
            box-shadow: 0 4px 12px var(--glass-shadow);
            transition: var(--transition);
        }

        .profile-info {
            transition: var(--transition);
        }

        .profile-name {
            font-weight: 500;
            margin-bottom: 2px;
        }

        .profile-status {
            font-size: 12px;
            color: var(--color02);
        }

        .sidebar.collapsed .profile-info {
            display: none;
        }

        .sidebar.collapsed .user-profile {
            justify-content: center;
        }

        /* 主内容区容器 */
        .main-container {
            flex-grow: 1;
            margin-left: var(--sidebar-width);
            transition: var(--transition);
        }

        .sidebar.collapsed ~ .main-container {
            margin-left: var(--sidebar-width-collapsed);
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
        }

        /* 顶部工具栏 */
        .top-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            background: var(--glass);
            backdrop-filter: blur(12px) saturate(180%);
            -webkit-backdrop-filter: blur(12px) saturate(180%);
            border-radius: 15px;
            margin-bottom: 20px;
            box-shadow: 0 4px 20px var(--glass-shadow);
            border: 1px solid var(--glass-border);
        }

        .mobile-menu-toggle {
            display: none;
            font-size: 24px;
            color: var(--color01);
            cursor: pointer;
        }

        .search-box {
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.6);
            border-radius: 50px;
            padding: 8px 15px;
            transition: var(--transition);
            width: 350px;
        }

        .search-box:hover {
            background: rgba(255, 255, 255, 0.8);
            box-shadow: 0 0 15px rgba(158, 135, 116, 0.2);
        }

        .search-box input {
            background: transparent;
            border: none;
            outline: none;
            padding: 5px 10px;
            width: 100%;
            color: var(--color01);
            font-size: 15px;
        }

        .search-box i {
            color: var(--color02);
        }

        .top-actions {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .action-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.6);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--color01);
            cursor: pointer;
            transition: var(--transition);
        }

        .action-icon:hover {
            background: white;
            transform: scale(1.1);
            box-shadow: 0 4px 12px var(--glass-shadow);
        }

        /* 主内容区 */
        .main-content {
            margin-bottom: 40px;
        }

        /* 内容区 - 保持玻璃效果 */
        .content-area {
            background: var(--glass);
            backdrop-filter: blur(12px) saturate(180%);
            -webkit-backdrop-filter: blur(12px) saturate(180%);
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 8px 32px var(--glass-shadow);
            border: 1px solid var(--glass-border);
            animation: fadeIn 0.8s ease-out;
        }

        .section-header {
            margin-bottom: 30px;
            text-align: center;
            padding: 30px;
            background: rgba(255, 255, 255, 0.4);
            border-radius: 15px;
            backdrop-filter: blur(5px);
            border: 1px solid var(--glass-border);
            position: relative;
            overflow: hidden;
        }

        .section-header::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
            animation: rotate 20s linear infinite;
            z-index: -1;
        }

        .section-title {
            font-size: 32px;
            margin-bottom: 12px;
            background: linear-gradient(45deg, var(--color05), var(--color01));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            position: relative;
        }

        .section-subtitle {
            font-size: 18px;
            color: var(--color02);
            margin: 0 auto 25px;
            max-width: 800px;
            line-height: 1.6;
        }

        /* 快捷操作按钮 */
        .action-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

        .action-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 12px 25px;
            border-radius: 50px;
            background: linear-gradient(135deg, var(--color02), var(--color01));
            color: var(--color03);
            border: none;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 4px 12px var(--glass-shadow);
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .action-btn::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -60%;
            width: 20px;
            height: 200%;
            background: rgba(255,255,255,0.3);
            transform: rotate(25deg);
            transition: all 0.6s;
            z-index: -1;
        }

        .action-btn:hover::after {
            left: 120%;
        }

        .action-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(83, 71, 57, 0.35);
        }

        .action-btn.secondary {
            background: transparent;
            color: var(--color01);
            border: 1px solid var(--color02);
        }

        .action-btn.secondary:hover {
            background: rgba(158, 135, 116, 0.15);
        }

        /* 记忆分类 */
        .memory-categories {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }

        .category-card {
            background: rgba(255, 255, 255, 0.7);
            border-radius: 18px;
            padding: 25px;
            box-shadow: 0 6px 20px var(--glass-shadow);
            border: 1px solid var(--glass-border);
            transition: var(--transition);
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .category-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--color02), var(--color01));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.5s ease;
        }

        .category-card:hover::before {
            transform: scaleX(1);
        }

        .category-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 30px var(--glass-shadow);
        }

        .category-icon {
            width: 60px;
            height: 60px;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            font-size: 26px;
            color: var(--color03);
            box-shadow: 0 4px 10px rgba(0,0,0,0.08);
        }

        .category-family {
            background: linear-gradient(135deg, #e76f51, #f4a261);
        }

        .category-career {
            background: linear-gradient(135deg, #2a9d8f, #264653);
        }

        .category-travel {
            background: linear-gradient(135deg, #1d3557, #457b9d);
        }

        .category-education {
            background: linear-gradient(135deg, #8338ec, #3a86ff);
        }

        .category-hobby {
            background: linear-gradient(135deg, #fb8500, #ffb703);
        }

        .category-other {
            background: linear-gradient(135deg, #588157, #34a0a4);
        }

        .category-title {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--color05);
        }

        .category-count {
            font-size: 14px;
            color: var(--color02);
            margin-bottom: 15px;
        }

        .category-desc {
            font-size: 15px;
            color: var(--color01);
            line-height: 1.6;
        }

        /* 记忆收藏夹 */
        .favorites-section {
            margin-bottom: 40px;
        }

        .section-heading {
            font-size: 24px;
            color: var(--color05);
            position: relative;
            display: inline-block;
            margin-bottom: 25px;
        }

        .section-heading::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 50px;
            height: 3px;
            background: linear-gradient(90deg, var(--color02), var(--color01));
            border-radius: 2px;
        }

        .favorites-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
        }

        .memory-card {
            background: rgba(255, 255, 255, 0.8);
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 6px 20px var(--glass-shadow);
            border: 1px solid var(--glass-border);
            transition: var(--transition);
        }

        .memory-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px var(--glass-shadow);
        }

        .memory-image {
            height: 180px;
            overflow: hidden;
            position: relative;
        }

        .memory-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .memory-card:hover .memory-image img {
            transform: scale(1.05);
        }

        .memory-favorite {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #e63946;
            cursor: pointer;
            transition: var(--transition);
            backdrop-filter: blur(5px);
        }

        .memory-favorite:hover {
            transform: scale(1.1);
            background: white;
        }

        .memory-content {
            padding: 20px;
        }

        .memory-date {
            font-size: 14px;
            color: var(--color02);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .memory-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--color05);
            line-height: 1.4;
        }

        .memory-excerpt {
            font-size: 15px;
            color: var(--color01);
            line-height: 1.6;
            margin-bottom: 15px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .memory-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .memory-tag {
            font-size: 13px;
            padding: 4px 12px;
            border-radius: 20px;
            background: rgba(158, 135, 116, 0.15);
            color: var(--color01);
        }

        /* 记忆搜索与筛选 */
        .filter-section {
            background: rgba(255, 255, 255, 0.6);
            border-radius: 18px;
            padding: 25px;
            margin-bottom: 30px;
            box-shadow: 0 4px 20px var(--glass-shadow);
            border: 1px solid var(--glass-border);
        }

        .filter-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .filter-title {
            font-size: 18px;
            color: var(--color04);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .filter-options {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
        }

        .filter-group {
            margin-bottom: 15px;
        }

        .filter-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--color01);
        }

        .filter-control {
            width: 100%;
            padding: 12px 15px;
            border-radius: 10px;
            border: 1px solid var(--glass-border);
            background: rgba(255, 255, 255, 0.6);
            font-size: 15px;
            color: var(--color01);
            transition: var(--transition);
        }

        .filter-control:focus {
            outline: none;
            border-color: var(--color02);
            box-shadow: 0 0 0 3px rgba(158, 135, 116, 0.2);
        }

        .filter-actions {
            display: flex;
            justify-content: flex-end;
            gap: 15px;
            margin-top: 15px;
        }

        .btn {
            padding: 10px 25px;
            border-radius: 50px;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            border: none;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--color02), var(--color01));
            color: var(--color03);
            box-shadow: 0 4px 12px var(--glass-shadow);
        }

        .btn-secondary {
            background: transparent;
            color: var(--color01);
            border: 1px solid var(--color02);
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 18px rgba(83, 71, 57, 0.3);
        }

        /* 记忆地图 */
        .memory-map {
            height: 400px;
            background: rgba(255, 255, 255, 0.7);
            border-radius: 18px;
            margin-bottom: 40px;
            overflow: hidden;
            box-shadow: 0 6px 20px var(--glass-shadow);
            border: 1px solid var(--glass-border);
            position: relative;
        }

        .map-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: var(--color02);
            background: url('') center no-repeat;
            background-size: 120px;
        }

        .map-placeholder i {
            font-size: 48px;
            margin-bottom: 15px;
            color: var(--color02);
            opacity: 0.7;
        }

        .map-placeholder p {
            font-size: 16px;
            font-weight: 500;
        }

        /* 动画定义 */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        /* 响应式设计 */
        @media (max-width: 1024px) {
            .search-box {
                width: 250px;
            }
        }

        @media (max-width: 768px) {
            .sidebar {
                transform: translateX(-100%);
                position: fixed;
            }
            
            .sidebar.active {
                transform: translateX(0);
            }
            
            .main-container {
                margin-left: 0;
            }
            
            .mobile-menu-toggle {
                display: block;
            }
            
            .search-box {
                width: 200px;
            }

            .memory-categories {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
            }

            .content-area {
                padding: 20px;
            }
            
            .section-header {
                padding: 25px 15px;
            }
            
            .section-title {
                font-size: 28px;
            }
            
            .section-subtitle {
                font-size: 16px;
            }
        }

        @media (max-width: 480px) {
            .memory-categories {
                grid-template-columns: 1fr;
            }

            .search-box {
                display: none;
            }

            .section-title {
                font-size: 24px;
            }

            .action-buttons {
                gap: 12px;
            }

            .action-btn {
                padding: 10px 20px;
                font-size: 14px;
            }
            
            .favorites-grid {
                grid-template-columns: 1fr;
            }
            
            .memory-map {
                height: 300px;
            }
        }
    </style>
</head>
<body>
    <div class="app-container">
        <!-- 侧边栏导航 -->
        <div class="sidebar" id="sidebar">
            <div class="sidebar-header">
                <div class="logo-icon">
                    <i class="fas fa-hourglass-half"></i>
                </div>
                <div class="logo-text">人生时光轴</div>
                <div class="sidebar-toggle" id="sidebarToggle">
                    <i class="fas fa-chevron-left"></i>
                </div>
            </div>
            
            <div class="nav-links">
                <div class="nav-section">
                    <div class="nav-section-title">主要功能</div>
                    <a href="#" class="nav-link">
                        <i class="fas fa-route"></i>
                        <span>时光轨迹</span>
                    </a>
                    <a href="#" class="nav-link">
                        <i class="fas fa-book"></i>
                        <span>生命记录</span>
                    </a>
                    <a href="#" class="nav-link active">
                        <i class="fas fa-memory"></i>
                        <span>记忆中心</span>
                    </a>
                    <a href="#" class="nav-link">
                        <i class="fas fa-map"></i>
                        <span>蓝图规划</span>
                    </a>
                    <a href="#" class="nav-link">
                        <i class="fas fa-user-edit"></i>
                        <span>人物自传</span>
                    </a>
                    <a href="#" class="nav-link">
                        <i class="fas fa-box-seam"></i>
                        <span>时空胶囊</span>
                    </a>
                </div>
                
                <div class="nav-section">
                    <div class="nav-section-title">系统</div>
                    <a href="#" class="nav-link">
                        <i class="fas fa-cog"></i>
                        <span>设置</span>
                    </a>
                    <a href="#" class="nav-link">
                        <i class="fas fa-question-circle"></i>
                        <span>帮助中心</span>
                    </a>
                </div>
            </div>
            
            <div class="user-profile-container">
                <div class="user-profile">
                    <div class="profile-avatar">S</div>
                    <div class="profile-info">
                        <div class="profile-name">张三</div>
                        <div class="profile-status">个人账户</div>
                    </div>
                </div>
            </div>
        </div>

        <!-- 主内容区容器 -->
        <div class="main-container">
            <div class="container">
                <!-- 顶部工具栏 -->
                <div class="top-bar">
                    <div class="mobile-menu-toggle" id="mobileMenuToggle">
                        <i class="fas fa-bars"></i>
                    </div>
                    
                    <div class="search-box">
                        <i class="fas fa-search"></i>
                        <input type="text" placeholder="搜索记忆...">
                    </div>
                    
                    <div class="top-actions">
                        <div class="action-icon">
                            <i class="fas fa-bell"></i>
                        </div>
                        <div class="action-icon">
                            <i class="fas fa-comment"></i>
                        </div>
                        <div class="action-icon">
                            <i class="fas fa-cog"></i>
                        </div>
                    </div>
                </div>

                <!-- 主内容区 -->
                <div class="main-content">
                    <!-- 内容区 -->
                    <div class="content-area">
                        <div class="section-header">
                            <h1 class="section-title">记忆中心</h1>
                            <p class="section-subtitle">在这里整理、分类和重温生命中的珍贵记忆，每一段回忆都是生命中独特的宝藏，值得被精心呵护。</p>

                            <div class="action-buttons">
                                <button class="action-btn">
                                    <i class="fas fa-plus"></i> 添加新记忆
                                </button>
                                <button class="action-btn secondary">
                                    <i class="fas fa-folder-plus"></i> 创建分类
                                </button>
                                <button class="action-btn secondary">
                                    <i class="fas fa-share-alt"></i> 分享记忆
                                </button>
                            </div>
                        </div>

                        <!-- 记忆筛选 -->
                        <div class="filter-section">
                            <div class="filter-header">
                                <h3 class="filter-title"><i class="fas fa-filter"></i> 筛选记忆</h3>
                            </div>
                            <div class="filter-options">
                                <div class="filter-group">
                                    <label class="filter-label">记忆分类</label>
                                    <select class="filter-control">
                                        <option value="">所有分类</option>
                                        <option value="family">家庭生活</option>
                                        <option value="career">职业生涯</option>
                                        <option value="travel">旅行见闻</option>
                                        <option value="education">学习成长</option>
                                        <option value="hobby">兴趣爱好</option>
                                        <option value="other">其他记忆</option>
                                    </select>
                                </div>
                                <div class="filter-group">
                                    <label class="filter-label">时间范围</label>
                                    <select class="filter-control">
                                        <option value="">不限时间</option>
                                        <option value="week">最近一周</option>
                                        <option value="month">最近一月</option>
                                        <option value="quarter">最近三月</option>
                                        <option value="year">最近一年</option>
                                        <option value="custom">自定义范围</option>
                                    </select>
                                </div>
                                <div class="filter-group">
                                    <label class="filter-label">情感标签</label>
                                    <select class="filter-control">
                                        <option value="">所有情感</option>
                                        <option value="happy">喜悦</option>
                                        <option value="sad">悲伤</option>
                                        <option value="proud">自豪</option>
                                        <option value="grateful">感恩</option>
                                        <option value="surprised">惊喜</option>
                                    </select>
                                </div>
                                <div class="filter-group">
                                    <label class="filter-label">包含内容</label>
                                    <select class="filter-control">
                                        <option value="all">全部内容</option>
                                        <option value="text">仅文字</option>
                                        <option value="image">包含图片</option>
                                        <option value="video">包含视频</option>
                                        <option value="audio">包含音频</option>
                                    </select>
                                </div>
                            </div>
                            <div class="filter-actions">
                                <button class="btn btn-secondary">重置筛选</button>
                                <button class="btn btn-primary">应用筛选</button>
                            </div>
                        </div>

                        <!-- 记忆分类 -->
                        <div>
                            <h2 class="section-heading">记忆分类</h2>
                            <div class="memory-categories">
                                <div class="category-card">
                                    <div class="category-icon category-family">
                                        <i class="fas fa-home"></i>
                                    </div>
                                    <h3 class="category-title">家庭生活</h3>
                                    <div class="category-count">32 段记忆</div>
                                    <p class="category-desc">记录与家人共度的温馨时刻、重要节日和家庭聚会的珍贵回忆。</p>
                                </div>

                                <div class="category-card">
                                    <div class="category-icon category-career">
                                        <i class="fas fa-briefcase"></i>
                                    </div>
                                    <h3 class="category-title">职业生涯</h3>
                                    <div class="category-count">24 段记忆</div>
                                    <p class="category-desc">收藏工作中的成就、挑战与突破，见证职业道路上的成长足迹。</p>
                                </div>

                                <div class="category-card">
                                    <div class="category-icon category-travel">
                                        <i class="fas fa-plane"></i>
                                    </div>
                                    <h3 class="category-title">旅行见闻</h3>
                                    <div class="category-count">18 段记忆</div>
                                    <p class="category-desc">保存旅途中的风景、遇见的人与事，定格每一次探索世界的瞬间。</p>
                                </div>

                                <div class="category-card">
                                    <div class="category-icon category-education">
                                        <i class="fas fa-graduation-cap"></i>
                                    </div>
                                    <h3 class="category-title">学习成长</h3>
                                    <div class="category-count">27 段记忆</div>
                                    <p class="category-desc">记录学习新知识、掌握新技能的过程，见证个人成长的每一步。</p>
                                </div>

                                <div class="category-card">
                                    <div class="category-icon category-hobby">
                                        <i class="fas fa-paint-brush"></i>
                                    </div>
                                    <h3 class="category-title">兴趣爱好</h3>
                                    <div class="category-count">15 段记忆</div>
                                    <p class="category-desc">收藏与兴趣相关的体验和成就，让生活的乐趣有迹可循。</p>
                                </div>

                                <div class="category-card">
                                    <div class="category-icon category-other">
                                        <i class="fas fa-ellipsis-h"></i>
                                    </div>
                                    <h3 class="category-title">其他记忆</h3>
                                    <div class="category-count">9 段记忆</div>
                                    <p class="category-desc">那些难以归类却同样珍贵的瞬间，构成了生命中独特的片段。</p>
                                </div>
                            </div>
                        </div>

                        <!-- 记忆地图 -->
                        <div>
                            <h2 class="section-heading">记忆地图</h2>
                            <div class="memory-map">
                                <div class="map-placeholder">
                                    <i class="fas fa-map-marker-alt"></i>
                                    <p>您的记忆地点将显示在这里</p>
                                </div>
                            </div>
                        </div>

                        <!-- 收藏的记忆 -->
                        <div class="favorites-section">
                            <h2 class="section-heading">珍藏的记忆</h2>
                            <div class="favorites-grid">
                                <div class="memory-card">
                                    <div class="memory-image">
                                        <img src="https://images.unsplash.com/photo-1529156069898-49953e39b3ac?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80" alt="家庭聚会">
                                        <div class="memory-favorite">
                                            <i class="fas fa-heart"></i>
                                        </div>
                                    </div>
                                    <div class="memory-content">
                                        <div class="memory-date"><i class="fas fa-calendar"></i> 2023年10月1日</div>
                                        <h3 class="memory-title">国庆节家庭聚会</h3>
                                        <p class="memory-excerpt">全家人第一次在新家聚会，父母准备了丰盛的晚餐，弟弟带来了他的新女友，爷爷讲述了过去的故事。</p>
                                        <div class="memory-tags">
                                            <span class="memory-tag">家庭</span>
                                            <span class="memory-tag">聚会</span>
                                            <span class="memory-tag">喜悦</span>
                                        </div>
                                    </div>
                                </div>

                                <div class="memory-card">
                                    <div class="memory-image">
                                        <img src="https://images.unsplash.com/photo-1517021897933-0e0319cfbc28?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80" alt="登山成就">
                                        <div class="memory-favorite">
                                            <i class="fas fa-heart"></i>
                                        </div>
                                    </div>
                                    <div class="memory-content">
                                        <div class="memory-date"><i class="fas fa-calendar"></i> 2023年8月15日</div>
                                        <h3 class="memory-title">成功登顶泰山</h3>
                                        <p class="memory-excerpt">凌晨4点开始登山，经过5个小时的努力，终于在日出前到达山顶。当第一缕阳光洒在身上时，所有的疲惫都烟消云散。</p>
                                        <div class="memory-tags">
                                            <span class="memory-tag">旅行</span>
                                            <span class="memory-tag">成就</span>
                                            <span class="memory-tag">自豪</span>
                                        </div>
                                    </div>
                                </div>

                                <div class="memory-card">
                                    <div class="memory-image">
                                        <img src="https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80" alt="项目完成">
                                        <div class="memory-favorite">
                                            <i class="fas fa-heart"></i>
                                        </div>
                                    </div>
                                    <div class="memory-content">
                                        <div class="memory-date"><i class="fas fa-calendar"></i> 2023年6月30日</div>
                                        <h3 class="memory-title">年度重点项目圆满完成</h3>
                                        <p class="memory-excerpt">历时8个月的项目终于成功上线，团队庆祝的那一刻，所有的加班和压力都变成了成就感。这是我职业生涯中的一个重要里程碑。</p>
                                        <div class="memory-tags">
                                            <span class="memory-tag">工作</span>
                                            <span class="memory-tag">成就</span>
                                            <span class="memory-tag">团队</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script>
        // 侧边栏折叠/展开功能
        const sidebar = document.getElementById('sidebar');
        const sidebarToggle = document.getElementById('sidebarToggle');
        const mobileMenuToggle = document.getElementById('mobileMenuToggle');

        sidebarToggle.addEventListener('click', () => {
            sidebar.classList.toggle('collapsed');
            
            // 切换图标方向
            const icon = sidebarToggle.querySelector('i');
            if (sidebar.classList.contains('collapsed')) {
                icon.classList.remove('fa-chevron-left');
                icon.classList.add('fa-chevron-right');
            } else {
                icon.classList.remove('fa-chevron-right');
                icon.classList.add('fa-chevron-left');
            }
        });

        // 移动端菜单切换
        mobileMenuToggle.addEventListener('click', () => {
            sidebar.classList.toggle('active');
        });

        // 导航链接激活状态切换
        document.querySelectorAll('.nav-link').forEach(link => {
            link.addEventListener('click', function (e) {
                e.preventDefault();
                document.querySelectorAll('.nav-link').forEach(el => {
                    el.classList.remove('active');
                });
                this.classList.add('active');

                // 移动端点击后关闭菜单
                if (window.innerWidth <= 768) {
                    sidebar.classList.remove('active');
                }
            });
        });

        // 分类卡片悬停效果
        document.querySelectorAll('.category-card').forEach(card => {
            card.addEventListener('mouseenter', function () {
                this.style.transform = 'translateY(-8px)';
            });

            card.addEventListener('mouseleave', function () {
                this.style.transform = 'translateY(0)';
            });
        });

        // 记忆卡片悬停效果
        document.querySelectorAll('.memory-card').forEach(card => {
            card.addEventListener('mouseenter', function () {
                this.style.transform = 'translateY(-8px)';
            });

            card.addEventListener('mouseleave', function () {
                this.style.transform = 'translateY(0)';
            });
        });

        // 收藏按钮交互
        document.querySelectorAll('.memory-favorite').forEach(btn => {
            btn.addEventListener('click', function (e) {
                e.stopPropagation();
                this.querySelector('i').classList.toggle('fas');
                this.querySelector('i').classList.toggle('far');
            });
        });

        // 为分类卡片添加点击跳转效果
        document.querySelectorAll('.category-card').forEach(card => {
            card.addEventListener('click', function() {
                const category = this.querySelector('.category-title').textContent;
                alert(`查看 "${category}" 分类下的所有记忆`);
                // 实际应用中这里会跳转到对应分类页面
            });
        });

        // 窗口大小变化时处理侧边栏状态
        window.addEventListener('resize', () => {
            if (window.innerWidth > 768) {
                sidebar.classList.remove('active');
                sidebar.classList.remove('collapsed');
                const icon = sidebarToggle.querySelector('i');
                icon.classList.remove('fa-chevron-right');
                icon.classList.add('fa-chevron-left');
            } else if (!sidebar.classList.contains('active')) {
                sidebar.classList.add('collapsed');
                const icon = sidebarToggle.querySelector('i');
                icon.classList.remove('fa-chevron-left');
                icon.classList.add('fa-chevron-right');
            }
        });
    </script>
</body>
</html>
